package com.alks.function.mapper.produce;

import com.alks.entity.data.entity.PcCuttingDispatchOtherD;
import com.alks.function.data.request.produce.DispatchOtherFindRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2024-07-06
 */
public interface PcCuttingDispatchOtherDMapper extends BaseMapper<PcCuttingDispatchOtherD> {

    /**
     * 查询派工号码和派工量
     * @param request 定位派工单号
     * @param processCode 工艺ID
     * @param companyId 公司ID
     * @return Map返回
     */
    List<Map<String, Object>> dispatchDetailQuery(@Param("request") DispatchOtherFindRequest request, @Param("processCode") String processCode, @Param("companyId") String companyId);

}
